package com.zmzncs.lmtc.module.promotion.dao;

import com.zmzncs.lmtc.module.promotion.pojo.customize_rule.CustomizeRule;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zmzncs.lmtc.module.promotion.pojo.customize_rule.CustomizeRuleDTO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 高博文
 * @since 2020-08-14
 */
@Repository
public interface CustomizeRuleDao extends BaseMapper<CustomizeRule> {

    /**根据名称查询规则*/
    List<CustomizeRuleDTO> getCustomizeRuleByName(String ruleName);

}
